+Thu Dec 6 23:09:21 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtk[hv]paned.c (gtk_[hv]paned_size_allocate): Fix errors
+ in computing the size of the second child.
+
Thu Dec 6 16:50:17 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrange.c: Make button 1 clicks on the trough
+Thu Dec 6 23:09:21 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtk[hv]paned.c (gtk_[hv]paned_size_allocate): Fix errors
+ in computing the size of the second child.
+
Thu Dec 6 16:50:17 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrange.c: Make button 1 clicks on the trough
+Thu Dec 6 23:09:21 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtk[hv]paned.c (gtk_[hv]paned_size_allocate): Fix errors
+ in computing the size of the second child.
+
Thu Dec 6 16:50:17 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrange.c: Make button 1 clicks on the trough
+Thu Dec 6 23:09:21 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtk[hv]paned.c (gtk_[hv]paned_size_allocate): Fix errors
+ in computing the size of the second child.
+
Thu Dec 6 16:50:17 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrange.c: Make button 1 clicks on the trough
+Thu Dec 6 23:09:21 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtk[hv]paned.c (gtk_[hv]paned_size_allocate): Fix errors
+ in computing the size of the second child.
+
Thu Dec 6 16:50:17 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrange.c: Make button 1 clicks on the trough
+Thu Dec 6 23:09:21 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtk[hv]paned.c (gtk_[hv]paned_size_allocate): Fix errors
+ in computing the size of the second child.
+
Thu Dec 6 16:50:17 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrange.c: Make button 1 clicks on the trough
+Thu Dec 6 23:09:21 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtk[hv]paned.c (gtk_[hv]paned_size_allocate): Fix errors
+ in computing the size of the second child.
+
Thu Dec 6 16:50:17 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrange.c: Make button 1 clicks on the trough
child1_allocation.y = child2_allocation.y = widget->allocation.y + border_width;
child2_allocation.x = child1_allocation.x + child1_allocation.width + paned->handle_pos.width;
- child2_allocation.width = MAX (1, (gint) allocation->width - child2_allocation.x - border_width);
+ child2_allocation.width = MAX (1, widget->allocation.x + widget->allocation.width - child2_allocation.x - border_width);
/* Now allocate the childen, making sure, when resizing not to
* overlap the windows
child1_allocation.y = widget->allocation.y + border_width;
child2_allocation.y = child1_allocation.y + child1_allocation.height + paned->handle_pos.height;
- child2_allocation.height = MAX (1, (gint) allocation->height - child2_allocation.y - border_width);
+ child2_allocation.height = MAX (1, widget->allocation.y + widget->allocation.height - child2_allocation.y - border_width);
/* Now allocate the childen, making sure, when resizing not to
* overlap the windows